<template>
  <div id="app">
    <el-container>
      <el-header class="header">
        <Header></Header>
      </el-header>
      <el-container>
        <el-aside width="200px">
          <NavMenu></NavMenu>
        </el-aside>
        <el-main>
          <router-view></router-view>
        </el-main>
      </el-container>
    </el-container>
  </div>
</template>

<script>
  import NavMenu from '../components/NavMenu'
  import Header from '../components/Header'
  export default {
    name: "index",
    components:{NavMenu,Header}
  }
</script>

<style scoped>
  .header {
    background-color: #409EFF;
    color: #fff;
    line-height: 60px;
  }
</style>
